﻿using Shop.RemoteModel.Coupon.Model;
using Shop.StoreGatewayModular.Model.Coupon;
using WeDonekRpc.Client;
using WeDonekRpc.HttpApiGateway.Model;

namespace Shop.StoreGatewayModular.Interface
{
    public interface ICouponService
    {
        long Add (CouponSet data);
        void Delete (long id);
        bool Enable (long id);
        CouponDetailed Get (long id);
        bool Offshelf (long id);
        PagingResult<CouponDatum> Query (PagingParam<CouponQueryParam> param);
        bool Set (long id, CouponSet data);
        bool Stop (long id);
    }
}